
package com.hlkj.pay.service.merchant;
/*
 * Hlpay-Plus aggregate payment system.
 * Copyright (c) 2024-2025 Hlpay Team Copyright has the right of final interpretation.
 */

import com.hlkj.pay.infrastructure.model.merchant.AgentInfoDO;

/**
 * @author HlpayTeam
 * @date 2024/09/12 13:40
 */
public interface IAgentService {

    /**
     *
     * @param sn
     * @return
     */
    AgentInfoDO queryAgent(String sn);

    /**
     * 通过sn 更新商户信息
     * 
     * @param agentInfoDO
     */
    void updateAgentInfoBySn(AgentInfoDO agentInfoDO);
    /**
     * 通过sn 更新商户信息
     *
     * @param agentInfoDO
     */
    void addAgentInfo(AgentInfoDO agentInfoDO);

    /**
     * delete
     * 
     * @param sn
     */
    void delAgentInfo(String sn);

}
